home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
C++ Files Library
/
MRDiim, 3D World Shell
/
MRDiim.sit
/
MRDiim
/
MDmain.cp
< prev
next >
Wrap
Text File
|
1994-12-19
|
1KB
|
59 lines
#include<QDOffScreen.h>
#include "Utils_List.h"
#include "Utils_Dialog.h"
#include "Utils_General.h"
#include "MRRachet.h"
#include "MREyeBall.h"
#include "MRShindler.h"
#include "MRJones.h"
#include "MRConstruction.h"
#include "MRDiim.h"
#include "MRDiimApp.h"
// Holder of lists for dialog boxes.
MRShindler *DialogListKeeper;
//wall's pattern for fill
PixPatHandle WallPenPattern[2][3];
void main (void)
{
MRDoomApp *myMRDoomApp;
Rect myRect={0,0,150,150};
PicHandle tempPict;
InitToolbox();
//My Utils Init.
InitUtils();
// Init the App
myMRDoomApp= new MRDoomApp;
// Init the Dialog Keeper
DialogListKeeper= new MRShindler;
// load in the ppat for the walls
WallPenPattern[0][0] = GetPixPat(128);
WallPenPattern[0][1] = GetPixPat(129);
WallPenPattern[0][2] = GetPixPat(130);
WallPenPattern[1][0] = WallPenPattern[1][1] = WallPenPattern[1][2] = GetPixPat(131);
// Run it!
myMRDoomApp->Run();
// kill ppat for wall
DisposePixPat(WallPenPattern[0][0]);
DisposePixPat(WallPenPattern[0][1]);
DisposePixPat(WallPenPattern[0][2]);
DisposePixPat(WallPenPattern[1][0]);
// Quit. Kill it.
delete (DialogListKeeper);
delete (myMRDoomApp);
}